package com.sfy.designdemo.policyandfactory.service.Impl;

import com.sfy.designdemo.policyandfactory.dto.OrderDTO;
import com.sfy.designdemo.policyandfactory.dto.PayResult;
import com.sfy.designdemo.policyandfactory.service.IPayment;
import org.springframework.stereotype.Service;

/**
 * Created by SiFeiYang on Date 2022/4/6
 */
@Service("AliPay")
public class AliPay implements IPayment {
    @Override
    public PayResult pay(OrderDTO orderDTO) {
        return new PayResult("支付宝支付成功");
    }
}
